package com.qk.management.runner;

import com.qk.management.service.OperateLogService;
import com.qk.management.service.ReportOverviewService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

/**
 * @author fantuan
 * @created 2025/10/18 19:40
 * @description
 */
@Component
public class CachePreloadRunner implements ApplicationRunner {
    @Autowired
    private ReportOverviewService reportOverviewService;
    @Override
    public void run(ApplicationArguments args) throws Exception {
        reportOverviewService.getOverview();
    }
}
